package com.by.orders.utils;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

public class DateUtils {
    /**
     * 获取系统时间
     * @return
     */
    public static String getYm(){
        LocalDate localDate=LocalDate.now();
        return localDate.format(DateTimeFormatter.ofPattern("yyMM"));
    }
}
